import request from '@/utils/request'

// 查询所有
export function selectAll() {
  return request({
    url: '/petbreed/findAll',
    method: 'get'
  })
}
// 新增
export function add(query) {
  return request({
    url: '/petbreed/addPetBreed',
    method: 'post',
    data: query
  })
}
// 删除
export function del(petbreedId) {
  return request({
    url: '/petbreed/delPetBreed',
    method: 'delete',
    params: { petbreedId }
  })
}

